package com.ocom.common.request.exposeapi.ssgl;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class GetPersonInfoRequest extends SSGLBaseRequest {

    @NotBlank(message = "comAppid 不能为空")
    private String comAppid;

    @NotNull(message = "pId 不能为空")
    @JsonProperty("pId")
    private Integer pId;

    @Override
    public String toString() {
        return "GetPersonInfoRequest{" +
                "comAppid='" + comAppid + '\'' +
                ", pId=" + pId +
                "} " + super.toString();
    }
}
